<?php $this->load->view('include/header'); ?>

<?php echo form_open('admin/addUser'); ?>

<p><label for="firstname">First Name: </label><?php echo form_input('fname');?> </p>

<p><label for="lasstname">Last Name: </label><?php echo form_input('lname');?> </p>

<p><label for="username">Username: </label><?php echo form_input('username');?> </p>

<p><label for="password">Password: </label><?php echo form_password('password');?></p>

<p><label for="dOb">Day of Birth: </label><?php echo form_input('dOb');?> </p>

<p><label for="email">Email: </label><?php echo form_input('email');?> </p>

<p><label for="falculty">Falculty: </label><?php echo form_input('falculty');?> </p>

<?php echo $checkType; ?>

<?php if ($checkType == 0): ?>
<p><label for="falculty">Type: </label><?php echo form_input('type');?> </p>	
<?php endif; ?>

<p><?php echo form_submit('submit','Create'); ?></p>	

<p><?php echo validation_errors(); ?></p>

<?php $this->load->view('include/footer'); ?>